package com.xiaoshuidi.cloud.module.contract.dal.dataobject.contract;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @BelongsProject: lease-module-contract
 * @BelongsPackage: com.xiaoshuidi.cloud.module.contract.dal.dataobject.contract
 * @Author: James
 * @CreateTime: 2023-11-15  09:50
 * @Description: 合同延期配置
 * @Version: 1.0
 */

@TableName("contract_fixed_config")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ContractFixedFeeVo  extends TenantBaseDO implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 合同延期配置id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    //部门编号
    private Long apartmentId;
    //是否开启固定金额
    private Boolean isFixedFee;
    //固定金额
    private BigDecimal fixedFee;
    //是否开启日房费
    private Boolean isRoomRate;
    //日房费（倍）
    private Long roomRate;
    /**
     * 免租期功能 0不支持  1支持
     */
    private Boolean rentFreePeriod;

    /**
     * 合同押金编辑 0不能  1能
     */
    private Boolean contractDepositEditing;

    /**
     * 合同租金编辑 0不能  1能
     */
    private Boolean contractRentEditing;

    /**
     * 账单打印 1一联  2两联
     */
    private Integer billPrint;

    //租赁时间自定义
    private String customTime;

    //租赁时间自定义2
    private String customTime2;

    //续租合同个人  天数
    private Integer renewalContractPersonage;

    //续租合同企业  天数
    private Integer renewalContractEnterprise;

}
